@mixin public {
  border: 1px solid red;
}

@mixin m1 {
  p {
    font-size: 2rem;
  }
  p:hover {
    background-color: antiquewhite;
  }
}

@include m1;

.a {
  @include public;
  font-size: 1rem;
}

.b {
  @include m1;
  @include public;
  color: red;
}

.c {
  @include public;
  background: yellow;
}
